home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / mis_util / listfpo / listfpo.doc < prev   
Encoding:
Text File  |  1986-12-08  |  4.0 KB  |  123 lines

  1.  
  2.                              LISTFPO.COM
  3.              Emulate dBASE's "LIST FILE" Command in DOS
  4.  
  5.  
  6.                            P. L. OLYMPIA
  7.                          Darwin Systems, Inc.
  8.                    Sysop, Darwin BBS, 301-251-9206
  9.                                12/07/86
  10.  
  11.  
  12. WHAT IN THE WORLD IS LISTFPO?
  13. ------------------------------
  14.  
  15.      LISTFPO  allows you to display the databases on a given disk or
  16. subdirectory, the number of records in each database and the date the 
  17. database was last updated.  In short, it works like dBASE's "LIST FILE" 
  18. command, except that you don't need dBASE to get those information --
  19. LISTFPO is normally run while you're in DOS.
  20.  
  21.      LISTFPO does not (yet) display the filesize but it can read both
  22. dBASE II or III files.  dBASE II databases are tagged accordingly.
  23.  
  24.      Who needs this program?  People who need to know quickly what
  25. those DBF files on disk are, which has the most records and what the
  26. dates of last update are.  It is also useful to those who can't tell which
  27. DBF is from dBASE II.
  28.  
  29.      If you need more complete info about each database (e.g., the
  30. fields, their type, length, etc) use my other program, DBSTRUPO.
  31.  
  32.      You  may specify the source disk\path or wildcard filenames in the 
  33. command line.   The output may be redirected to any DOS device including 
  34. your printer or any file.  If the file  being  used  for redirection already 
  35. exists, it will be overwritten.
  36.  
  37.      The program is written in C.
  38.  
  39.  
  40. COMMAND SYNTAX
  41. --------------
  42.  
  43.      LISTFPO [drive\path\ambiguous-filename]  [>dosdev]
  44.  
  45.      You may specify drive,  path, any wildcard filenames, all of these
  46. or none of these. How's that for taking care of everything you want?
  47.  
  48.      You  may redirect the output to "dosdev" which is any  valid  DOS 
  49. device, for example, PRN, or any file you name.
  50.  
  51.  
  52. EXAMPLES
  53. --------
  54.  
  55. 1. Example 1
  56.  
  57.    LISTFPO  C:\DB\*.*    >A:MYDOC.TXT
  58.    LISTFPO  C:\DB\*.DBF  >A:MYDOC.TXT
  59.    LISTFPO  C:\DB\       >A:MYDOC.TXT
  60.  
  61.      All  the above examples will display the name, number of records and
  62. last update date of all dBASE II/III files on the C:\DB subdirectory and 
  63. capture the output to the file MYDOC.TXT on the A: drive.  If A:MYDOC.TXT 
  64. already exists, it will be overwritten.  The program will tell you whether 
  65. the file belongs to dBASE II.  By default the file is a dBASE III file.
  66.  
  67.      Here is a sample output:
  68.  
  69. Database      # Recds   Last Update
  70. ------------  -------   ----------
  71. MIPSIODE.DBF   89        9/23/86
  72. HELP.DBF       0         9/ 5/85       *dB2*
  73. SAVE1.DBF      84        9/23/86       *dB2*
  74. TEMP.DBF       7        11/10/86
  75. MIPSSORT.DBF   143      11/01/86
  76.  
  77.  
  78.  
  79. 2. Example 2
  80.  
  81.    LISTFPO
  82.  
  83.      will  display  the  relevant data for all DBF files  on  the
  84. current  directory  to  the screen  only.  Obviously,  you  won't  get 
  85. anything (except a diagnostic message) if there are no DBF files.
  86.  
  87.  
  88.  
  89. 3. Example 3
  90.  
  91.     LISTFPO B: >prn
  92.  
  93.   (This is your quiz. If you've been paying attention, you should know 
  94. what this command does).
  95.  
  96.  
  97.  
  98. AND NOW A WORD FROM YOUR SPONSOR
  99. --------------------------------
  100.  
  101.      LISTFPO is copyrighted by me,  but you may use it for all NON-COMMERCIAL
  102. purposes,  provided:  (oh,  oh, here's the hitch)
  103.  
  104.   1. Both  LISTFPO.COM and LISTFPO.DOC (this file)  are  distributed 
  105.      together.
  106.  
  107.   2. Neither  file is altered in any way.  If you want to alter files, 
  108.      write your own.
  109.  
  110.   3. You  don't charge anything for distributing this  program.  I  am 
  111.      giving this to you for free, so you do the same.
  112.  
  113.   
  114.      All  monetary  contributions  for  this  program  are  graciously 
  115. declined.  If you really like me that much, buy my other programs such 
  116. as  MEMOPO  (dBASE Memo Field Utility for the Civilized) or send  your 
  117. donation to my "Shareware" program FCPO1 (Electronic Filing  Cabinet), 
  118. or  send something new and useful (public domain only) to my  BBS.  If 
  119. you can't do any of the above, just be nice to your folks. 
  120.  
  121.      Peace.
  122.  
  123.